/* Reset default spacing and box model */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f8f8;
    font-weight: 505;
  }

/* Testimonials Styling */

.testimonial-main{
    margin-top: 50px;
}
.testimonials {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .testimonials h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color:#007b5e;
  }
  
  
   .testimonials .testimonial-intro {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #444;
    font-size: 1.2rem;
  }
  
  .testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .testimonial-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
  }
  
  .testimonial-card p {
    font-style: italic;
    color: #555;
  }
  
  .testimonial-card h4 {
    margin-top: 0.75rem;
    color: #222;
    font-weight: 600;
    font-size: 1rem;
  }
  
  .stars {
    color: gold;
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }
  

  /* Media Queries for Smaller Screen */
@media (max-width: 480px) {
   
  
  
    .testimonial-cards {
      grid-template-columns: 1fr;
    }
  
    .testimonial-card {
      padding: 1rem;
    }
  
    .testimonials h2 {
      font-size: 1.5rem;
    }
  
    .testimonial-intro {
      font-size: 1rem;
    }
  
    .stars {
      font-size: 1rem;
    }
  }
  
  /* Testimonials Styling */
  .testimonials {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .testimonials h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
  }
  
  .testimonial-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #444;
    font-size: 1.1rem;
  }
  
  .testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .testimonial-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
  }
  
  .testimonial-card p {
    font-style: italic;
    color: #555;
  }
  
  .testimonial-card h4 {
    margin-top: 0.75rem;
    color: #222;
    font-weight: 600;
    font-size: 1rem;
  }
  
  .stars {
    color: gold;
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }
  
/* testimonial submission form begins */

  /* Testimonial Form Styles */
.testimonial-form {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
    text-align: center;
  }
  
  .testimonial-form h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #080214;
    background-color: #fff;
  }
  
  .testimonial-form form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .testimonial-form input,
  .testimonial-form textarea,
  .testimonial-form select {
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
  }
  
  .testimonial-form textarea {
    resize: vertical;
  }
  
  .testimonial-form button {
    padding: 0.75rem 1.5rem;
    background-color: #005baa;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .testimonial-form button:hover {
    background-color: #004b91;
  }
  
  .form-message {
    margin-top: 1rem;
    color: #007700;
    font-weight: 505;
  }
  
  /* Responsive for small screens */
  @media (max-width: 760px){
    .testimonial-form {
      background: url('../images/training-photo-20.jpg') ;
      min-height: 90vh;
      width: 100v;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 2rem;
      color: #fff;
      position: relative;
      background-position:  center; /* or left center, bottom center depending on your image */
      background-size: cover;
      background-repeat: no-repeat;
    
      }
    }
    



  @media (max-width: 480px) {
    .testimonial-form {
      padding: 2rem 1rem;
    }
  
    .testimonial-form h2 {
      font-size: 1.5rem;
    }
  
    .testimonial-form form {
      gap: 0.75rem;
    }
   .testimonials .testimonial-intro {
      font-size: 0.9rem;
      margin-bottom: 1rem;
      color: #333;
    }
  }
  